package com.itheima.edu.info.manager.domain;

public class Person {
    private String id;
    private String name;
    private String age;
    private String birth;
/*
    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", birth='" + birth + '\'' +
                '}';
    }
*/

    @Override
    public String toString() {
        return "{学生学号='" + id + '\'' +
                ", 学生姓名='" + name + '\'' +
                ", 学生年龄='" + age + '\'' +
                ", 学生生辰='" + birth + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public Person(String id, String name, String age, String birth) {

        this.id = id;
        this.name = name;
        this.age = age;
        this.birth = birth;
    }

    public Person() {

    }
}
